package Day06;

import java.util.Scanner;

public class Test4 {
    public static void main(String[] args) {
        Scanner in =new Scanner(System.in);
        System.out.println("请输入一个整数.判断是奇数还是偶数");
        int a = in.nextInt();
        if (a%2==0){
            System.out.println("这个整数为偶数！");
        }else {
            System.out.println("这个整数为奇数！");
        }
    }
}
